package com.wall.springbootinit.model.dto.user;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 用户登录dto
 * @author lzw
 */
@Data
public class UserLoginDTO implements Serializable {

    /**
     * 登录类型 1-账号密码 0-邮箱验证码
     */
    @ApiModelProperty(value = "登录类型")
    private Integer loginType;

    /**
     * 邮箱验证码id
     */
    @ApiModelProperty(value = "邮箱验证码id")
    private String emailCodeId;

    /**
     * 账号
     */
    @ApiModelProperty(value = "账号")
    private String userAccount;

    /**
     * 邮箱
     */
    @ApiModelProperty(value = "邮箱")
    private String email;

    /**
     * 密码
     */
    @ApiModelProperty(value = "密码")
    private String userPassword;

    /**
     * 验证码
     */
    @ApiModelProperty(value = "验证码")
    private String captcha;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}
